package com.fortest;

import java.io.*;

public class Test5 {
    public static void main(String[] args) throws IOException {
        File file=new File("E:\\毕设有关\\上传的文件\\资讯有关\\example.txt");
        FileReader in=new FileReader("E:\\毕设有关\\上传的文件\\资讯有关\\example.txt");
        int a = 0;
        while((a = in.read())!=-1){
           char ch=(char)a;
           System.out.println(ch);
        }
        in.close();
    }
}
